﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YXChatApiService.Core.AccountEntity;
using YXChatApiService.Core.BuddyEntity;
using YXChatApiService.Core.ChatRecordEntity;

namespace YXChatApiService.Core.Common
{
    public class YxChatDbContext:DbContext
    {
        public YxChatDbContext(DbContextOptions<YxChatDbContext> options):base(options)
        {

        }
        public DbSet<Account> Account { get; set; }
        public DbSet<Buddy> Buddy { get; set; }
        public DbSet<ChatRecord> ChatRecord { get; set; }
    }
}
